var depot = {

	depot : null,

	init : function() {
		depot = new Mojo.Depot( {
			name : Mojo.Controller.appInfo.id,
			replace : false
		}, this.doNothing, this.reportError);
	},

	doNothing : function() {

	},

	reportError : function(code) {
		Mojo.Log.error("depot failed:" + code);
	},

	saveAuthToken : function(token) {
		this.depot.add("auth", token, this.doNothing, this.repotError);
	},

	getAuthToken : function(callback) {
		this.depot.get("auth", callback, this.reportError);
	}

};